﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WS.EKA.Business.Model
{
    [Serializable]
    public class TB_Application
    {
        public string APP_CODE { get; set; }
        public string APP_NAME { get; set; }
        public string APP_TYPE { get; set; }

        public string AppTypeName
        {
            get
            {
                switch (APP_TYPE)
                {
                    case "1":
                        return "办公协同";
                    case "2":
                        return "管理支撑";
                    case "3":
                        return "营运支撑";
                    case "4":
                        return "基础应用";
                    default:
                        return "";
                }
            }
        }
        public string COMMENTS { get; set; }
        public string IsActive { get; set; }

        public string ActiveName
        {
            get
            {
                if (IsActive.ToLower() == "y")
                    return "是";
                else
                    return "否";
            }
        }

        public string Update_Date { get; set; }
    }
}
    